package com.qfedu.service;

import com.qfedu.model.MilkTea;
import com.qfedu.page.PageBean;

import java.util.List;

public interface MilkTeaMeauService {
    //分页
    PageBean<MilkTea> findPage(int pageNo,int pageSize);
    //id查找
    MilkTea findMilkTeaById(int byId);
    //添加
    int add(MilkTea milkTea);
    //删除
    int delete(int tid);
    //修改
    int update(MilkTea milkTea);
    //查询所有
    List<MilkTea> findAll();
}
